import { createPortal } from "react-dom";


export default function Portal () {
  return (
    createPortal(
      <div>
        <h1>createPortal</h1>
        <div>我是portal</div>
      </div>,
      document.body
    )
  )
}